/****************************************************************************\
 * @file     BR_Stat.h
 * @author   傅帅
 * @date     2019/12/25
 * @brief    统计任务
 *
 ******************************************************************************
 * @attent
 ****************************************************************************/
#ifndef BR_STAT_H
#define BR_STAT_H

#include "FreeRTOS.h"
#include "task.h"

#if BR_configUSE_STAT == 1

#define BR_StatTaskPrio 2
#define BR_StatTaskStkSize 64

void BR_vStatTask(void);
void BR_vStatInit(void);

extern float BR_CPU_Rate;
extern TaskHandle_t BR_StatTaskHandler;

#else
extern float BR_CPU_Rate;
#endif

#endif

